home *** CD-ROM | disk | FTP | other *** search
/ InfoMagic Internet Tools 1995 April / Internet Tools.iso / dos_win / winsock / maillist / 94-04.Z / 94-04 / text0218.txt < prev    next >
Encoding:
Text File  |  1994-04-30  |  9.1 KB  |  277 lines

  1.  
  2. In article <mgaro.52.002F82AB@kuhub.cc.ukans.edu>, <mgaro@kuhub.cc.ukans.edu> 
  3. writes:
  4. > ....
  5. > I am using the Netmanage stack (Chameleon).  I was using version 4.0, then 
  6. > upgraded to 4.00.4.  I previously used WSARCHIE 0.2 with no problem.  I think 
  7. > it worked with the new version of the Netmanage stack.  Anyway, I reinstalled 
  8. > the old version, and tried WSARCHIE versions 0.2 and 0.5 with both.  Same 
  9. > error every time.  I don't know what has changed, because it used to work 
  10. > fine.  I can try the Trumpet winsock and see if that works if you like, 
  11. David. 
  12. > Thanks for a great program (if only I can get it to work again!)
  13. > Michael.
  14.  
  15. Same for me, WSArchie alpha 0.1 runs with fine Trumpet WinSock 1.0 beta r6, but 
  16. on NetManage's Chameleon 4.0 r4 it always returns with a message saying s.th. 
  17. like "NO DATA".
  18.  
  19. Stephen Heilbronner
  20. <heilbron@informatik.tu-muenchen.de>
  21. From news@bigblue.oit.unc.edu Sat Apr 19 03:28:52 1994
  22. Received: from bigblue.oit.unc.edu by SunSITE.Unc.EDU (5.65c+IDA/FvK-1.07) with SMTP
  23.           id AA11656; Wed, 20 Apr 1994 03:14:02 -0400
  24. Received: by bigblue.oit.unc.edu (AIX 3.2/UCB 5.64/4.03)
  25.           id AA16669; Wed, 20 Apr 1994 01:45:57 -0500
  26. Received: from GATEWAY by bigblue with netnews
  27.     for winsock@sunsite.unc.edu (winsock@sunsite.unc.edu)
  28. To: winsock@sunsite.unc.edu
  29. Date: 19 Apr 1994 10:28:52 -0700
  30. From: lelina@kaiwan.com (Rico Lelina)
  31. Message-Id: <GF-ijKFrDfPN061yn@kaiwan.com>
  32. Organization: KAIWAN
  33. Sender: ses
  34. References: <2ov9at$mhv@nntp2.Stanford.EDU>
  35. Reply-To: lelina@kaiwan.com
  36. Subject: Re: How to pass connect() a sockaddr_in??
  37.  
  38. In article <2ov9at$mhv@nntp2.Stanford.EDU>, Richard Swent wrote:
  39. > Here is some code that used to work just fine for me. Now I am compiling
  40. > it as a C++ file instead of C, and the compiler is much fussier about
  41. > data types. I get the message: "connect: cannot convert parameter 2 from
  42. > struct ::sockaddr_in __far * to const struct ::sockaddr __far *" This is
  43. > because connect is defined in winsock.h with the second parameter as a
  44. > sockaddr FAR *, not sockaddr_in FAR *. How do I fill a sockaddr with the
  45. > sockaddr_in information, or how can I get the compiler to accept the
  46. > call as it is (since I know it used to work)? Editing winsock.h to
  47. > change the definition of parameter 2 might work, but I consider this
  48. > cheating.
  49. >
  50. > Thanks,
  51. > Rich
  52. > rlswent@leland.stanford.edu
  53. >
  54. >
  55. > struct sockaddr_in fsock;
  56. > struct hostent *hent;
  57. >
  58. > if ( (s = socket(AF_INET, SOCK_STREAM, 0)) == INVALID_SOCKET )
  59. >   return(FALSE);
  60. > fsock.sin_family=AF_INET;
  61. > fsock.sin_addr.s_addr = *(long *) hent->h_addr;
  62. > fsock.sin_port = htons(Myportz);
  63. >
  64. > ret=connect( s, &fsock, sizeof(struct sockaddr_in) );
  65.  
  66. // Try the following (just casting to the right type):
  67. ret = connect(s, (LPSOCKADDR)&fsock, sizeof(struct sockaddr_in));
  68.  
  69. -------------------------------
  70. Rico Lelina (lelina@kaiwan.com)
  71. "Blueberry bagels on Monday."
  72. From news@bigblue.oit.unc.edu Wed Apr 20 03:14:03 1994
  73. Received: from bigblue.oit.unc.edu by SunSITE.Unc.EDU (5.65c+IDA/FvK-1.07) with SMTP
  74.           id AA11667; Wed, 20 Apr 1994 03:14:03 -0400
  75. Received: by bigblue.oit.unc.edu (AIX 3.2/UCB 5.64/4.03)
  76.           id AA13476; Wed, 20 Apr 1994 02:13:01 -0500
  77. Received: from GATEWAY by bigblue with netnews
  78.     for winsock@sunsite.unc.edu (winsock@sunsite.unc.edu)
  79. To: winsock@sunsite.unc.edu
  80. Date: Wed, 20 Apr 1994 07:45:49 UNDEFINED
  81. From: h9304891@iwaki.anu.edu.au (Nathan Hand)
  82. Message-Id: <h9304891.51.000EEC13@iwaki.anu.edu.au>
  83. Organization: none
  84. Sender: ses
  85. References: <geofmwp.766676124@aau>, <h9304891.46.02F90330@iwaki.anu.edu.au>, <2ov764$97j@clarknet.clark.net>
  86. Subject: Re: trumpet winsock and Wfwg 3.11
  87.  
  88. In article <2ov764$97j@clarknet.clark.net> bitstream@clark.net (bitstream) writes:
  89. >>Basically youll need to install dis_pkt9.dos into your microsoft network
  90. >>ini files and then preload them before starting windows. The following
  91. >>included textfile should solve all your problems
  92. >>
  93. >   Now comes the tough question.  Can it do SLIP?  I run a SLIP connection 
  94. with>Trumpet Winsock 1B #6 and I like it alot.  Although I would really like 
  95. to have>something more integrated into Windows for Worgroups if at all 
  96. possible.  >If it can do SLIP somehow, I would love to know.  Thanks.
  97.  
  98. Do you mean you want Trumpet Winsock to do SLIP or for WFWG to do slip?
  99.  
  100. If you are talking about Trumpet Winsock then easy... just ignore all the 
  101. networking stuff i presented and run Trumpet Winsock directly from WFWG3.11. 
  102. Trumpet Winsock running over slip doesnt need any networking crap. Otherwise
  103. I cant help :(
  104. From news@bigblue.oit.unc.edu Sat Apr 19 09:49:04 1994
  105. Received: from bigblue.oit.unc.edu by SunSITE.Unc.EDU (5.65c+IDA/FvK-1.07) with SMTP
  106.           id AA14198; Wed, 20 Apr 1994 03:44:01 -0400
  107. Received: by bigblue.oit.unc.edu (AIX 3.2/UCB 5.64/4.03)
  108.           id AA17949; Wed, 20 Apr 1994 02:19:43 -0500
  109. Received: from GATEWAY by bigblue with netnews
  110.     for winsock@sunsite.unc.edu (winsock@sunsite.unc.edu)
  111. To: winsock@sunsite.unc.edu
  112. Date: 19 Apr 1994 13:49:04 -0400
  113. From: rshipley@access.digex.net (Rich Shipley)
  114. Message-Id: <rshipley.766777639@access3>
  115. Organization: Express Access Online Communications, Greenbelt, MD USA
  116. Sender: ses
  117. References: <leonn.9.00087319@tenore.digex.net>, <2ov3g7$4bk@news1.digex.net>, <2ova5o$86m@news1.digex.net>
  118. Subject: Re: SMTP Mail Client - SLIP
  119.  
  120. Frontier Technologies Super TCP for Windows comes with a SMTP server that 
  121. runs in the background. Its problem is that they don't have a way to 
  122. connect via SLIP other than at Windows startup.
  123.  
  124. Rich
  125. From news@bigblue.oit.unc.edu Mon Apr 18 16:39:33 1994
  126. Received: from bigblue.oit.unc.edu by SunSITE.Unc.EDU (5.65c+IDA/FvK-1.07) with SMTP
  127.           id AA14208; Wed, 20 Apr 1994 03:44:04 -0400
  128. Received: by bigblue.oit.unc.edu (AIX 3.2/UCB 5.64/4.03)
  129.           id AA13420; Wed, 20 Apr 1994 02:40:42 -0500
  130. Received: from GATEWAY by bigblue with netnews
  131.     for winsock@sunsite.unc.edu (winsock@sunsite.unc.edu)
  132. To: winsock@sunsite.unc.edu
  133. Date: Mon, 18 Apr 1994 16:39:33 GMT
  134. From: hbae@cwis.unomaha.edu (Hansang Bae)
  135. Message-Id: <hbae.766687173@cwis>
  136. Organization: University of Nebraska at Omaha
  137. Sender: ses
  138. References: <hbae.766284510@cwis>, <georg.21.004BE091@geo.phys.ethz.ch>
  139. Subject: Re: WFWG, ODI, MS TCP/IP AND ODIPKT!
  140.  
  141.  
  142. I WROTE in an earlier posting:
  143. >>Ok, I have WFWG running fine with MS tcp/ip package.  I also use thier
  144. >>sockets and dnr program.  The only problem that I'm running into is that
  145. >>I cannot use ODIPKT.  I still have to use Clarkson's (Rutgers) DOS
  146. >>telnet.  Can't do it w/o ODIPKT.  
  147. >>Actually, I can use odipkt fine, but if I load up ODINSUP (for ndis over
  148. >>odi), it crashes on me.  Has anyone gotten ODIPKT to coexit with
  149. >>ODINSUP?
  150.  
  151.  
  152. To Which: georg@geo.phys.ethz.ch (Georg Schwarz) writes:
  153. >Just install your MTCPB1 with the NDIS2/NDIS3 drivers (no ODI stuff in WFW) 
  154. >and then add your ODI drivers manually in the AUTOEXEC. The winsock 
  155. >applications will use the NDIS drivers and your DOS program will use the 
  156. >TSR packet driver.
  157.  
  158. Georg,
  159.  
  160. Thank you for the post.  I thought I was doing that.  In my Network setup dialog,
  161. I have Microsoft NetBEUI, IPX/SPX Compatible transport w/ NetBIOS, and Microsoft
  162. TCP/IP.  Also, I have selected REAL MODE NDIS driver.  To save some time and 
  163. (hoping that other can help, I've enclosed the pertinent files)
  164.  
  165.  
  166. ********* AUTOEXEC.BAT *********
  167.  
  168. @ECHO OFF
  169. set winpmt=Windows is ACTIVE! $_$p$g
  170. SET PATH=C:\BAT;C:\WINDOWS;C:\DOS;c:\;C:\TELNET;
  171. cd \nwclient
  172.    net init
  173.    lh lsl
  174.    lh e21odi
  175.    lh odinsup.com
  176.  
  177. REM  Ideally, I'd like to load odipkt here so that my Clarkson Telnet
  178. REM  package will work when I'm in dos mode.
  179.  
  180.    c:\windows\net start NETBIND
  181.    lh ipxodi
  182.    lh vlm ps=unocdc
  183. C:\WINDOWS\umb
  184. C:\WINDOWS\tcptsr
  185. C:\WINDOWS\tinyrfc
  186. C:\WINDOWS\nmtsr.exe
  187. C:\WINDOWS\emsbfr.exe
  188. C:\WINDOWS\dnr.exe
  189. C:\WINDOWS\sockets.exe
  190.  
  191.  
  192.     ************ PROTOCOL.INI ***********
  193.  
  194. [network drivers]
  195. devdir=C:\WINDOWS
  196. transport=*netbeui,ndishlp.sys,tcpdrv.dos,nemm.dos,dis_pkt9.dos
  197. LoadRMDrivers=Yes
  198.  
  199. [NetWare]
  200. NWShareHandles=FALSE
  201. RestoreDrives=TRUE
  202.  
  203. [NWNBLINK]
  204. LANABASE=1
  205.  
  206. [mmwd600.drv]
  207. WidthXHeight=800x600
  208. FontSize=small
  209.  
  210. [network.setup]
  211. version=0x3110
  212. netcard=ms$cbl21,1,MS$CBL21,1
  213. transport=ms$nwlinknb,NWLINK
  214. transport=ms$netbeui,NETBEUI
  215. transport=ms$ndishlp,MS$NDISHLP
  216. transport=tcpip,TCPIP
  217. lana0=ms$cbl21,1,ms$netbeui
  218. lana1=ms$cbl21,1,ms$nwlinknb
  219. lana2=ms$cbl21,1,ms$ndishlp
  220. lana3=ms$cbl21,1,tcpip
  221.  
  222. [MS$CBL21]
  223. DriverName=E21ND$
  224. INTERRUPT=10
  225. IOADDRESS=0x380
  226. SHAREDRAM=0xC800
  227. MEDIA=PRI
  228.  
  229. [NWLINK]
  230. BINDINGS=E21ODI
  231.  
  232. [NETBEUI]
  233. BINDINGS=E21ODI
  234. LANABASE=0
  235. SESSIONS=10
  236. NCBS=12
  237. DriverName=netbeui$
  238.  
  239. ;[pktdrv]
  240. ;DriverName=PKTDRV$
  241. ;BINDINGS=E21ODI
  242. ;INTVEC=0X61
  243.  
  244. [protman]
  245. DriverName=PROTMAN$
  246. PRIORITY=MS$NDISHLP
  247.  
  248.  
  249. [MS$NDISHLP]
  250. DriverName=ndishlp$
  251. BINDINGS=E21ODI
  252.  
  253. [TCPIP]
  254. DefaultGateway0=137 48 2 254
  255. SubNetMask0=255 255 255 0
  256. IPAddress0=137 48 2 142
  257. NBSessions=6
  258. NetFiles=C:\WINDOWS
  259. DriverName=TCPIP$
  260. BINDINGS=E21ODI
  261. LANABASE=2
  262.  
  263.  
  264. Thank you to anyone who can assist me!
  265.  
  266. And thank you again for you post, Georg
  267.  
  268.  
  269.   Hansang Bae --------------------------------------------------------
  270. | hbae@unocdc.unomaha.edu | Data Communication  EAB 110               |
  271. | hbae@cwis.unomaha.edu   | Voice: (402) 554-3769 FAX: (402) 554-3475 |
  272.  ---------------------------------------------------------------------
  273.  
  274.  
  275.